package cn.xyafu.dao;

import cn.xyafu.po.User;

public interface UserDao {
    //通过id查找用户
    public User findUserByUid(Integer uid);
    //通过昵称查找用户
    public User findUserByUnikename(String unikeName);
    //登录验证
    public User findUserByUser(User user);
    //添加用户
    public Integer addUser(User user);
    //更新信息
    public Integer updateUser(User user);
}
